package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.Book;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


public interface BookMapper {
    int addBook(Book book);
    List<Book> selectUserid(int userid);
    Book  selectBookByid(int id);
    List<Book> selectBookByclassify(int userid,int classify,int classifyname);
    int  delete(int id);
    int updateStatus(Book book);
    int look(Book book);
    List<Book> select();
    List<Book> selectname(String name);
}
